package com.encrypt.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@Slf4j
@RestController
@RequestMapping("/test")
public class EncryptController {


    @GetMapping("/api")
    public ResponseEntity<?> encrypt() {
        log.info("测试接口的方法体");
        return ResponseEntity.ok("哈哈哈哈，加密了");
    }


}
